package com.ibeeking.found.content.b.rest.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ibeeking.found.content.service.common.param.BroadcastCouponParam;
import com.ibeeking.found.content.service.common.query.BroadcastCouponPageQuery;
import com.ibeeking.found.content.service.common.query.BroadcastCouponQuery;
import com.ibeeking.found.content.service.common.vo.BroadcastCouponVO;

import java.util.List;

public interface IBroadcastCouponService {

    /***
     * 查询列表
     */
    List<BroadcastCouponVO> list(BroadcastCouponQuery broadcastCouponQuery);
    /***
     * 查询列表
     */
    Page<BroadcastCouponVO> pageList(BroadcastCouponPageQuery pageQuery);
    /***
     * 新增
     */
    Boolean add(BroadcastCouponParam broadcastCouponParam);
    /***
     * 批量新增
     */
    Boolean batchAdd(List<String> couponIdList);
    /***
     * 修改
     */
    Boolean modify(BroadcastCouponParam broadcastCouponParam);

    /***
     * 通过id查询
     */
    BroadcastCouponVO view(Long id);

    /***
     * 通过id删除
     */
    Boolean del(Long id);
    /***
     * 发布状态
     */
    public Boolean changePublishStatus(Long id, Integer status);
}
